package com.xinpu.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.xinpu.entity.TUserTag;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * TagAdminMapper
 *
 * @author ayuan
 * @date 2021/5/17
 */
@Repository
public interface TagAdminMapper {

    /**
     * 标签列表
     *
     * @param tenantId
     * @return
     */
    @SqlParser(filter = true)
    List<TUserTag> getList(@Param("tenantId") String tenantId);

    @SqlParser(filter = true)
    List<TUserTag> userTagList(@Param("tenantId") String tenantId, @Param("ids") List<Integer> ids);
}
